import React from "react";
import {WeaLocaleProvider} from "ecCom";

const getLabel = WeaLocaleProvider.getLabel;

export default class FooterView extends React.Component {
    render() {
        const { shortkey, data, ...props} = this.props;
        if(!data || !data.desc) return null;
        
        return (
              <div className='footer-content'>
                <div
                  {...props}
                  className='wev-edc-form-bottom__view bgt' 
                >
                  {<p className='fbottom-desc'><span className='content' dangerouslySetInnerHTML={{__html: data.desc}} /></p>}                 
                </div>
              </div>
        )
    }
}
